package top.hsocode.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.hsocode.dao.HelloDao;
import top.hsocode.service.HelloService;

/**
 * HelloServiceImpl class
 *
 * @author hsowan
 * @date 2018/09/30
 */
@Service
public class HelloServiceImpl implements HelloService {

    @Autowired
    private HelloDao helloDao;

    @Override
    public Integer getCount() {
        return helloDao.getCount();
    }

    @Override
    public void saveCount(int count) {
        helloDao.saveCount(count);
    }
}
